<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		
		<a href="javascript:alert('测试1')">测试1</a><br>
		
		<button onclick="alert('测试2')">测试2</button>
	</body>
</html>
